Remove Composer Package


Removing an installed Composer package from your PHP or Laravel project.

Let's consider you want to remove Livewire from your Laravel appliation

composer remove livewire/livewire

This command uninstalls the specified package from your project and updates the composer.json and composer.lock files.

You Might Also Like

How to Automatically Add User Info to Logs

**Log::withContext** in Laravel allows you to add extra information (like user details or other rele...

Using --ignore-platform-req and --ignore-platform-reqs with Composer

Using --ignore-platform-req and --ignore-platform-reqs flags to bypass specific or all platform requ...